package com.lhf.kafka.common;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 *@desc: 消息实体
 *@author:robin
 *@date:2018/11/17
 */
@Getter
@Setter
@EqualsAndHashCode
public class MessageEntity {
    //消息标题
    private String title;

    //消息名称
    private String name;



    //消息年龄
    private String age;

    @Override
    public String toString() {
        return "MessageEntity{" +
                "title='" + title + '\'' +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
